package com.chenyilei.demo.common.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 自定义异常
 *
 * @author chenyilei
 * @date 2019/03/14- 22:15
 */
@Data
@NoArgsConstructor
public class SelfException extends RuntimeException {
    private String msg;

    public SelfException( String msg) {
        super(msg);
        this.msg = msg;
    }
}
